package com.sdleyou.treepro.common.model.convert;

import com.sdleyou.treepro.common.model.dao.MessageDO;
import com.sdleyou.treepro.common.model.vo.MessageVO;
import org.springframework.beans.BeanUtils;

public class MessageDO2MessageVOConverter {
    public static MessageVO convert(MessageDO messageDO) {
        MessageVO messageVO = new MessageVO();
        BeanUtils.copyProperties(messageDO, messageVO);
        return messageVO;
    }
}
